#ifndef MEMORYWIDGET_H
#define MEMORYWIDGET_H

#include "sysinfowidget.h"

#include <QtCharts/QLineSeries>

class MemoryWidget : public SysInfoWidget
{
public:
    explicit MemoryWidget(QWidget* parent = nullptr);

    // SysInfoWidget interface
protected slots:
    void update_series() override;

private:
    QtCharts::QLineSeries* m_serials;
    qint64 m_point_position_x;
};

#endif // MEMORYWIDGET_H
